import { put, get } from '@/security/request'

export function getAllApi(): Promise<IRespResult<any>> {
    return get("/admin/call/def/config/list");
}

export function updateApi(date:any): Promise<IRespResult<any>> {
    return put("/admin/call/def/config/update", date);
}